UserCellGroup Constructor(Rectangle[])
In This Topic
Initializes a new instance of the
UserCellGroup class, includes a range of cells identified by a list of rectangular areas, in the group.
Syntax
'Declaration
Public Function New( _
ByVal ParamArray () As System.Drawing.Rectangle _
)
public UserCellGroup(
params System.Drawing.Rectangle[]
)
Parameters
- ranges
- The list of rectangular areas to include in the group, each area is identified by a System.Drawing.Rectangle structure as follows:
- System.Drawing.Rectangle.X is the column index of the top left cell;
- System.Drawing.Rectangle.Y is the row index of the top left cell;
- System.Drawing.Rectangle.Width is the number of columns;
- System.Drawing.Rectangle.X is the number of rows.
See Also